<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
  <style>
    #i1{
      /*i是行内元素不能修改宽高*/
      width: 21px;
      height: 21px;
      display: block;
      background-color: black;
      background-image: url("https://game.gtimg.cn/images/lol/v3/topfoot-spr.png");
      /*移动背景图片*/
      background-position: -381px -39px;
    }
  </style>
</head>
<body>
<i id="i1"></i>
</body>
</html>